Arguments
n
A number indicating the sample size.
p
A number indicating the number of nodes (or vectices, or variables).
s
A number in $(0, 1)$. This defines somehow the sparseness of the model. It is the probability that a node has an edge.
a
A number in $(0, 1)$. The defines the percentage of outliers to be included in the simulated data. If $a=0$, no outliers are generated.
m
A vector equal to the number of nodes. This is the mean vector of the normal distribution from which the data are to be generated. This is used only when $a>0$
so as to define the mena vector of the multivariate normal from which the outliers will be generated.
A
If you already have an an adjacency matrix in mind, plug it in here, otherwise, leave it NULL.
seed
If seed is TRUE, the simulated data will always be the same.